<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>工业屏交易平台 - 发布</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        :root {
            --primary-color: #2b6de5;
            --secondary-color: #3c8cff;
            --accent-color: #ff7d00;
            --success-color: #34c759;
            --light-bg: #f8f9fa;
            --border-color: #eaeaea;
            --text-primary: #333;
            --text-secondary: #666;
            --text-light: #999;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: "PingFang SC", "Helvetica Neue", Arial, sans-serif;
        }
        
        body {
            background-color: #f5f7fa;
            color: var(--text-primary);
            font-size: 14px;
            line-height: 1.5;
            padding-bottom: 60px;
        }
        
        .container {
            max-width: 480px;
            margin: 0 auto;
            background: white;
            min-height: 100vh;
            box-shadow: 0 0 15px rgba(0,0,0,0.05);
            position: relative;
            overflow-x: hidden;
        }
        
        /* 头部样式 */
        .header {
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: white;
            padding: 15px;
            position: relative;
            z-index: 10;
        }
        
        .top-bar {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .logo {
            font-weight: bold;
            font-size: 18px;
            display: flex;
            align-items: center;
        }
        
        .logo i {
            margin-right: 8px;
            font-size: 20px;
        }
        
        .actions {
            display: flex;
            gap: 15px;
        }
        
        .actions i {
            font-size: 18px;
        }
        
        /* 会员提示 */
        .membership-tip {
            background: linear-gradient(to right, rgba(255, 125, 0, 0.1), rgba(255, 166, 0, 0.1));
            margin: 15px;
            padding: 15px;
            border-radius: 12px;
            border-left: 4px solid var(--accent-color);
            display: flex;
            align-items: center;
        }
        
        .membership-tip i {
            font-size: 24px;
            color: var(--accent-color);
            margin-right: 12px;
        }
        
        .tip-content {
            flex: 1;
        }
        
        .tip-title {
            font-weight: bold;
            margin-bottom: 5px;
            color: var(--text-primary);
        }
        
        .tip-text {
            font-size: 13px;
            color: var(--text-secondary);
        }
        
        /* 发布选项 */
        .publish-section {
            padding: 10px 15px;
        }
        
        .section-title {
            font-size: 16px;
            font-weight: bold;
            margin-bottom: 15px;
            color: var(--text-primary);
            display: flex;
            align-items: center;
        }
        
        .section-title i {
            margin-right: 8px;
            color: var(--primary-color);
        }
        
        .publish-options {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
            margin-bottom: 25px;
        }
        
        .publish-option {
            background: white;
            border-radius: 12px;
            padding: 20px 15px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
            text-align: center;
            transition: all 0.3s ease;
            border: 1px solid rgba(43, 109, 229, 0.1);
            position: relative;
            overflow: hidden;
            cursor: pointer;
        }
        
        .publish-option.free::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: var(--success-color);
        }
        
        .publish-option.member::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: var(--accent-color);
        }
        
        .publish-option:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(43, 109, 229, 0.15);
        }
        
        .option-icon {
            font-size: 32px;
            margin-bottom: 15px;
            height: 60px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .publish-option.free .option-icon {
            color: var(--success-color);
        }
        
        .publish-option.member .option-icon {
            color: var(--accent-color);
        }
        
        .option-title {
            font-size: 16px;
            font-weight: bold;
            margin-bottom: 8px;
            color: var(--text-primary);
        }
        
        .option-desc {
            font-size: 13px;
            color: var(--text-secondary);
            margin-bottom: 15px;
            min-height: 40px;
        }
        
        .option-badge {
            display: inline-block;
            font-size: 12px;
            padding: 4px 10px;
            border-radius: 12px;
            margin-top: 5px;
        }
        
        .free .option-badge {
            background: rgba(52, 199, 89, 0.1);
            color: var(--success-color);
        }
        
        .member .option-badge {
            background: rgba(255, 125, 0, 0.1);
            color: var(--accent-color);
        }
        
        /* 权限说明 */
        .permission-info {
            background: var(--light-bg);
            border-radius: 12px;
            padding: 15px;
            margin: 20px 15px;
        }
        
        .permission-title {
            font-weight: bold;
            margin-bottom: 10px;
            color: var(--text-primary);
            display: flex;
            align-items: center;
        }
        
        .permission-title i {
            margin-right: 8px;
            color: var(--primary-color);
        }
        
        .permission-steps {
            display: flex;
            justify-content: space-between;
            position: relative;
            margin: 20px 0 10px;
        }
        
        .permission-steps::before {
            content: '';
            position: absolute;
            top: 16px;
            left: 20px;
            right: 20px;
            height: 1px;
            background: var(--border-color);
            z-index: 1;
        }
        
        .step {
            display: flex;
            flex-direction: column;
            align-items: center;
            position: relative;
            z-index: 2;
            flex: 1;
        }
        
        .step-icon {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: white;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 10px;
            font-size: 18px;
            color: var(--primary-color);
            box-shadow: 0 2px 6px rgba(0,0,0,0.1);
        }
        
        .step-text {
            font-size: 12px;
            color: var(--text-secondary);
            text-align: center;
        }
        
        /* 底部导航 */
        .tabbar {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: white;
            display: flex;
            border-top: 1px solid var(--border-color);
            z-index: 100;
            max-width: 480px;
            margin: 0 auto;
        }
        
        .tab-item {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 8px 0;
            color: var(--text-light);
            font-size: 11px;
        }
        
        .tab-item.active {
            color: var(--primary-color);
        }
        
        .tab-item i {
            font-size: 20px;
            margin-bottom: 3px;
        }
        
        /* 按钮样式 */
        .btn {
            display: inline-block;
            background: var(--primary-color);
            color: white;
            padding: 10px 20px;
            border-radius: 20px;
            font-weight: bold;
            text-decoration: none;
            text-align: center;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
        }
        
        .btn:hover {
            background: var(--secondary-color);
            transform: translateY(-2px);
        }
        
        .btn-block {
            display: block;
            width: 100%;
        }
        
        .btn-accent {
            background: var(--accent-color);
        }
        
        .btn-accent:hover {
            background: #ff9500;
        }
        
        /* 模态框 */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0,0,0,0.5);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1000;
            display: none;
        }
        
        .modal {
            background: white;
            border-radius: 12px;
            width: 90%;
            max-width: 400px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
        }
        
        .modal-header {
            padding: 15px;
            border-bottom: 1px solid var(--border-color);
            text-align: center;
            position: relative;
        }
        
        .modal-close {
            position: absolute;
            right: 15px;
            top: 15px;
            font-size: 18px;
            color: var(--text-light);
            cursor: pointer;
        }
        
        .modal-title {
            font-size: 18px;
            font-weight: bold;
        }
        
        .modal-content {
            padding: 20px;
        }
        
        .modal-text {
            margin-bottom: 20px;
            text-align: center;
        }
        
        .modal-actions {
            display: flex;
            gap: 10px;
        }
        
        .modal-actions .btn {
            flex: 1;
        }
    </style>
</head>
<body>
    <div class="container">
        <!-- 头部区域 -->
        <div class="header">
            <div class="top-bar">
                <div class="logo">
                    <i class="fas fa-industry"></i>
                    <span>工业屏交易平台</span>
                </div>
                <div class="actions">
                    <i class="fas fa-bell"></i>
                    <i class="fas fa-user"></i>
                </div>
            </div>
        </div>
        
        <!-- 会员提示 -->
        <div class="membership-tip">
            <i class="fas fa-crown"></i>
            <div class="tip-content">
                <div class="tip-title">开通企业会员，享受发布权限</div>
                <div class="tip-text">仅需100元/年，即可发布产品、求购、活动和合作信息</div>
            </div>
            <button class="btn btn-accent" onclick="openModal()">立即开通</button>
        </div>
        
        <!-- 免费发布选项 -->
        <div class="publish-section">
            <div class="section-title">
                <i class="fas fa-unlock"></i>
                <span>免费发布</span>
            </div>
            <div class="publish-options">
                <div class="publish-option free" onclick="createEnterprise()">
                    <div class="option-icon">
                        <i class="fas fa-building"></i>
                    </div>
                    <div class="option-title">创建企业</div>
                    <div class="option-desc">注册企业信息，完善公司资料</div>
                    <div class="option-badge">免费</div>
                </div>
            </div>
        </div>
        
        <!-- 会员发布选项 -->
        <div class="publish-section">
            <div class="section-title">
                <i class="fas fa-crown"></i>
                <span>会员专享</span>
            </div>
            <div class="publish-options">
                <div class="publish-option member" onclick="checkMembership('发布活动')">
                    <div class="option-icon">
                        <i class="fas fa-calendar-alt"></i>
                    </div>
                    <div class="option-title">发布活动</div>
                    <div class="option-desc">发布展会、行业交流活动信息</div>
                    <div class="option-badge">需企业会员</div>
                </div>
                
                <div class="publish-option member" onclick="checkMembership('发布合作')">
                    <div class="option-icon">
                        <i class="fas fa-handshake"></i>
                    </div>
                    <div class="option-title">发布合作</div>
                    <div class="option-desc">发布代加工、技术合作等服务</div>
                    <div class="option-badge">需企业会员</div>
                </div>
                
                <div class="publish-option member" onclick="checkMembership('发布产品')">
                    <div class="option-icon">
                        <i class="fas fa-box-open"></i>
                    </div>
                    <div class="option-title">发布产品</div>
                    <div class="option-desc">发布材料、库存等产品供应信息</div>
                    <div class="option-badge">需企业会员</div>
                </div>
                
                <div class="publish-option member" onclick="checkMembership('发布求购')">
                    <div class="option-icon">
                        <i class="fas fa-shopping-cart"></i>
                    </div>
                    <div class="option-title">发布求购</div>
                    <div class="option-desc">发布采购需求，寻找优质供应商</div>
                    <div class="option-badge">需企业会员</div>
                </div>
            </div>
        </div>
        
        <!-- 权限说明 -->
        <div class="permission-info">
            <div class="permission-title">
                <i class="fas fa-info-circle"></i>
                <span>发布权限说明</span>
            </div>
            <p style="font-size: 13px; color: var(--text-secondary); margin-bottom: 15px;">
                只有完成企业认证并开通会员后，才能发布产品、求购、活动和合作信息
            </p>
            
            <div class="permission-steps">
                <div class="step">
                    <div class="step-icon">1</div>
                    <div class="step-text">创建企业</div>
                </div>
                <div class="step">
                    <div class="step-icon">2</div>
                    <div class="step-text">开通会员</div>
                </div>
                <div class="step">
                    <div class="step-icon">3</div>
                    <div class="step-text">发布信息</div>
                </div>
            </div>
        </div>
        
        <!-- 底部导航 -->
        <div class="tabbar">
            <div class="tab-item">
                <i class="fas fa-home"></i>
                <span>首页</span>
            </div>
            <div class="tab-item">
                <i class="fas fa-search"></i>
                <span>求购</span>
            </div>
            <div class="tab-item active">
                <i class="fas fa-plus-circle"></i>
                <span>发布</span>
            </div>
            <div class="tab-item">
                <i class="fas fa-warehouse"></i>
                <span>供应</span>
            </div>
            <div class="tab-item">
                <i class="fas fa-user"></i>
                <span>我的</span>
            </div>
        </div>
        
        <!-- 开通会员模态框 -->
        <div class="modal-overlay" id="membershipModal">
            <div class="modal">
                <div class="modal-header">
                    <div class="modal-title">开通企业会员</div>
                    <div class="modal-close" onclick="closeModal()">
                        <i class="fas fa-times"></i>
                    </div>
                </div>
                <div class="modal-content">
                    <div class="modal-text">
                        <p style="margin-bottom: 15px;">开通企业会员享受以下权益：</p>
                        <div style="text-align: left; margin-bottom: 20px;">
                            <p><i class="fas fa-check-circle" style="color: var(--success-color);"></i> 发布产品、求购、活动和合作信息</p>
                            <p><i class="fas fa-check-circle" style="color: var(--success-color);"></i> 积分获取加倍，信息优先展示</p>
                            <p><i class="fas fa-check-circle" style="color: var(--success-color);"></i> 专属客服支持</p>
                            <p><i class="fas fa-check-circle" style="color: var(--success-color);"></i> 企业认证标识</p>
                        </div>
                        <p style="font-weight: bold; color: var(--accent-color); font-size: 18px;">
                            仅需 100元/年
                        </p>
                    </div>
                    <div class="modal-actions">
                        <button class="btn" onclick="closeModal()">稍后再说</button>
                        <button class="btn btn-accent">立即支付</button>
                    </div>
                </div>
            </div>
        </div>
    </div>
    
    <script>
        // 模态框控制
        function openModal() {
            document.getElementById('membershipModal').style.display = 'flex';
        }
        
        function closeModal() {
            document.getElementById('membershipModal').style.display = 'none';
        }
        
        // 创建企业
        function createEnterprise() {
            alert('跳转到创建企业页面');
        }
        
        // 检查会员权限
        function checkMembership(feature) {
            openModal();
        }
        
        // 点击选项效果
        document.querySelectorAll('.publish-option').forEach(option => {
            option.addEventListener('mouseenter', function() {
                this.style.transform = 'translateY(-5px)';
            });
            
            option.addEventListener('mouseleave', function() {
                this.style.transform = 'translateY(0)';
            });
        });
    </script>
</body>
</html>